import '@/icons'; // icon
import 'element-ui/lib/theme-chalk/index.css';
import Vue from 'vue';
import ElementUI from 'element-ui';
import locale from 'element-ui/lib/locale/lang/zh-CN';
import App from './App';
import router from './router';
import store from './store';
import './utils/permission';
import vauth from './components/v-auth';

Vue.config.productionTip = false;

Vue.use(ElementUI, { locale });

// 自定义权限标签v-auth
vauth(Vue);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App },
});
